<template>
  <el-container style="margin-bottom:0">
    <el-header style="height:90px;background:#fff;border-bottom:1px #D7D7D7 solid;">
      <common-header/>
    </el-header>
    <el-main><router-view/></el-main>
    <el-footer style="line-height:30px;height: 350px;padding:100px 0;"><common-footer/></el-footer>
  </el-container>
</template>

<script>
import CommonHeader from '../components/CommonHeader.vue'
import CommonFooter from '../components/CommonFooter.vue'
export default {
  name: 'Main',
  components:{CommonHeader,CommonFooter},
  data() {
    return {
      
    }
  },
}
</script>

<style lang='scss' scoped>
  .el-container {
    margin-bottom: 40px;
    
    .el-header, 
    .el-footer {
      background-color: #B3C0D1;
      color: #333;
      text-align: center;
      line-height: 90px;
      
    }
    .el-main {
      background-color: #E9EEF3;
      padding: 0;
      color: #333;
      text-align: center;
      background: #F3F3F3;
      // line-height: 160px;
    }
    .el-footer{
      background: black;
    }
  }
</style>